package cn.iocoder.yudao.module.erp.controller.admin.invoice.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - ERP 发票 Response VO")
@Data
@ExcelIgnoreUnannotated
public class InvoiceRespVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "25645")
    @ExcelProperty("id")
    private Long id;

    @Schema(description = "发票编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("发票编号")
    private String invoiceNumber;

    @Schema(description = "供应商编号", example = "19008")
    @ExcelProperty("供应商编号")
    private Long supplierId;

    @Schema(description = "发票金额，单位：元", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("发票金额，单位：元")
    private BigDecimal invoiceValue;

    @Schema(description = "附件 URL", example = "https://www.iocoder.cn")
    @ExcelProperty("附件 URL")
    private String fileUrl;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "订单数量", example = "19008")
    private Integer orderIntegrateNum;

    @Schema(description = "订单价格", example = "19008")
    private BigDecimal orderIntegratePrice;
}